package com.hong.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hong.domain.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hong.dto.QueryPageEmployeeDTO;

public interface EmployeeService extends IService<Employee>{


    Employee getById(Integer id);

    int updateBatch(List<Employee> list);

    int updateBatchByIds(List<Employee> list);

    boolean insertOrUpdate(Employee record);

    int insertOrUpdateSelective(Employee record);

    Integer updateNameById(Employee employee);

    IPage<Employee> getPage(QueryPageEmployeeDTO param);
}
